function reserveList(head) {
    if (!head || !head.next) return head// 注意注意
    let pre = null
    while (head) {
        let next = head.next;
        head.next = pre
        pre = head;
        head = next;
    }
    return pre
}